package com.corffen.design.template;

public abstract class AsyncTask {
    
    public void execute(){
        onPreTask();
        doInBackground();
        onPostTask();
    }

    protected abstract void doInBackground();

    private void onPostTask() {
        
    }

    private void onPreTask() {
        
    }
}
